﻿@using Website.CRUDServices
@model List<Project>
<script>
    $(function() {
        $("#HappenedBefore").datepicker();
        $("#HappenedAfter").datepicker();
        $('#Projects').multiSelect();
    });
</script>


<div class="formBullet">Projekter som skal indgå:</div>
<div class="formEntry">
    <select name="DefaultFields.OwnerProjects" id="Projects" multiple="multiple">
        @foreach (Project proj in this.Model)
        {
            <option value="@proj.ID">@proj.Name</option>
        }
    </select>
</div>

<div class="formBullet">
    Tidsrum:    
</div>
<div class="formEntry">
    Fra
    <input type="text" id="HappenedAfter" name="DefaultFields.HappenedAfter" readonly="readonly" value="" style="text-align: center; width: 100px;"/>

    til 
    <input type="text" id="HappenedBefore" name="DefaultFields.HappenedBefore" readonly="readonly" value=""  style="text-align: center; width: 100px;" />
</div>